﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace GameStore2.Models
{
    public class Game
    {
        public int GameId { get; set; }

        public int GameCompanyId { get; set; }

        [Required]
        [Display(Name="Game Title")]
        [MaxLength(100)]
        public string Name { get; set; }

        [Required]
        [DataType(DataType.MultilineText)]
        public string Description { get; set; }

        [DataType(DataType.ImageUrl)]
        public string GameUrl { get; set; }
        public GameCompany Company { get; set; }
    }
}